package com.linkoog.devtools.code_generator.config.ui;

import com.intellij.uiDesigner.core.GridConstraints;
import com.intellij.uiDesigner.core.GridLayoutManager;
import com.intellij.uiDesigner.core.Spacer;

import javax.swing.*;
import javax.swing.border.TitledBorder;
import java.awt.*;

public class TableSettingPanelBuilder {

    private JPanel myMainPanel;
    private JCheckBox mybatisPlusCheckBox;
    private JCheckBox swaggerCheckBox;
    private JCheckBox lombokCheckBox;


    public JPanel getMyMainPanel() {
        return myMainPanel;
    }

    public JCheckBox getMybatisPlusCheckBox() {
        return mybatisPlusCheckBox;
    }

    public JCheckBox getSwaggerCheckBox() {
        return swaggerCheckBox;
    }

    public JCheckBox getLombokCheckBox() {
        return lombokCheckBox;
    }


    {
// GUI initializer generated by IntelliJ IDEA GUI Designer
// >>> IMPORTANT!! <<<
// DO NOT EDIT OR ADD ANY CODE HERE!
        $$$setupUI$$$();
    }

    /**
     * Method generated by IntelliJ IDEA GUI Designer
     * >>> IMPORTANT!! <<<
     * DO NOT edit this method OR call it in your code!
     *
     * @noinspection ALL
     */
    private void $$$setupUI$$$() {
        myMainPanel = new JPanel();
        myMainPanel.setLayout(new GridLayoutManager(3, 2, new Insets(0, 7, 0, 7), -1, -1));
        myMainPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createLineBorder(new Color(-3881788)), null, TitledBorder.DEFAULT_JUSTIFICATION, TitledBorder.DEFAULT_POSITION, null, null));
        mybatisPlusCheckBox = new JCheckBox();
        mybatisPlusCheckBox.setText("mybatis-plus");
        myMainPanel.add(mybatisPlusCheckBox, new GridConstraints(0, 0, 1, 2, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
        final Spacer spacer1 = new Spacer();
        myMainPanel.add(spacer1, new GridConstraints(2, 0, 1, 2, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_VERTICAL, 1, GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));
        swaggerCheckBox = new JCheckBox();
        swaggerCheckBox.setText("Swagger文档");
        myMainPanel.add(swaggerCheckBox, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
        lombokCheckBox = new JCheckBox();
        lombokCheckBox.setText("lombok");
        myMainPanel.add(lombokCheckBox, new GridConstraints(1, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
    }

    /**
     * @noinspection ALL
     */
    public JComponent $$$getRootComponent$$$() {
        return myMainPanel;
    }

}
